# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=jdupes
pkgver=1.15.0
pkgrel=1
pkgdesc="identifying and taking actions upon duplicate files"
options="!check" # No testsuite
url="https://github.com/jbruchon/jdupes"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/jbruchon/jdupes/archive/v$pkgver.tar.gz"

build() {
	make ENABLE_DEDUPE=1
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="690fcc69bacc4bde1d352871e3f4a843d4dbf038bd7755343f9fd0cb2a4c72bffa7223719435e39a32e79a25b0f315023c5f76b251015e1887451653f7198e3b  jdupes-1.15.0.tar.gz"
